package com.sky.service.impl;

import com.sky.mapper.SetMealMapper;
import com.sky.service.SetmealService;
import com.sky.vo.SetmealVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SetmealServiceImpl implements SetmealService {
    @Autowired
    SetMealMapper setMealMapper;

    @Override
    public List<SetmealVO> querySetMealByCategoryId(Long categoryId) {
        List<SetmealVO> list =  setMealMapper.querySetMealByCategoryId(categoryId);
        return list;
    }
}
